package com.itcast.yuanyuan.oademo.service.impl;

import java.util.List;

import com.itcast.yuanyuan.oademo.dao.IUserDao;
import com.itcast.yuanyuan.oademo.pojo.User;
import com.itcast.yuanyuan.oademo.service.IUserService;

public class UserServiceImpl implements IUserService {
	private IUserDao userDao;

	public void setUserDao(IUserDao userDao) {
		this.userDao = userDao;
	}

	@Override
	public User findUserById(String id) {
		return this.findUserById(id);
	}

	@Override
	public List<User> selectUserByCondition(User u) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int deleteUserById(String id) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateUserByCondition(User u) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insertUser(User u) {
		// TODO Auto-generated method stub
		return 0;
	}

}
